<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>DamnIT - JavaScript Error Handling</title>
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css" />
<!--[if IE]>
	<style>
	#template_caption {
		left: 22px;
	}
	#result_caption {
		bottom: -15px;
	}
	#result_caption {
		position: relative;
	}
	ul {margin-left: 60px;}
	#page ul {margin-left: 80px;}
	#page ol {margin-left: 90px;}
	</style>
	<![endif]-->
	<!--[if IE 6]>
		<style>#option_links {position:relative; top: 15px;}
			.width {width:960px;}
			.left_column {width: 470px;}
		</style>
	<![endif]-->

</head>
<body id='page'>
	<div id='header' style=''>

			<a href='/' style='float:left;' id='damn'>DamnIT</a>
			<ul>
				<li><a href='/home/demo'>Demo</a></li>
				<li><a href='/home/learn'>Learn More</a></li>
				<li><a href='/home/documentation'>Documentation</a></li>
				<li><a href='http://groups.google.com/group/damn-it/topics'>Forum</a></li>
				<li><a href='http://jupiterit.com/contact.html'>Contact</a></li>
				<%if logged_in?%>
				<li><%= link_to('Log Out', session_url, :method => :delete, :class => 'logout') %></li>
				<%end%>
			</ul>

	</div>

	<div id='sidebar'>
		<%if logged_in?%>
		<h3 class='background'><%=link_to_unless_current 'My Errors', :controller => 'home', :action =>'myerrors'%></h3>
		<h3>Setup</h3>
		<ul>
			<li><%=link_to_unless_current 'Instructions', :controller => 'home', :action => 'setup_instructions'%></li>
			<li><%=link_to_unless_current 'Test', :controller => 'home', :action => 'test'%></li>
		</ul>
		<%end%>
		<h3>Learn</h3>
		<ul>
			<li><%=link_to_unless_current 'Overview', :controller => 'home', :action => 'learn'%></li>
			<li><%=link_to_unless_current 'Demo', :controller => 'home', :action => 'demo'%></li>
			<li><%=link_to_unless_current 'Documentation', :controller => 'home', :action => 'documentation'%></li>
		</ul>
	</div>
	<div class='right_side'>
<%= yield  %>
	</div>
	<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-2302003-7");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>
